const mongoose = require('mongoose');

const Schema = mongoose.Schema;

const article = Schema({
  title: {
    type: String,
  },
  registerTime: {
    type: Date,
    default: Date.now
  },
  content: {
    type: String,
  }
})

module.exports = mongoose.model("article",article)